Skip to content

Conversation

@FabrizioSandri
Copy link
Member

RcppDeepState Analysis

This pull request aims to find bugs in this R package using RcppDeepState-action

@github-actions
Copy link

github-actions bot commented Sep 6, 2022

RcppDeepState Report

function name message file line address trace R code
ipf_step 41 bytes in 1 blocks are possibly lost in loss record 14 of 1,296 ipu_step.cpp:72 No Address Trace found
Test code
testlist <- list(classes = c(1800811113L, 620569564L, -625709448L, -1672537886L, -682939386L, 1204004638L, 248718771L, 2051647206L, -1613213757L, -713842512L, 655239364L, 1564517948L, -1570608919L, 638519348L, -483530915L, 1988969238L, 1720965435L, 108653357L, -2011958811L, 1402479349L, -91562208L, -1696115331L, 339532426L, -903962576L, -1317377097L, -682939386L, 1792434622L, 1854124904L, 227707303L, 2044601485L), targets = c(9.03316458728692e+73, 1.01129744651742e+266, 8.91059618311948e-149, -0.000406221853235071, 6.5316759420058e-251, -4.38468870978115e-138, -1.05429336249238e-143, -7.32150358134199e+148, 1.89248848369004e-138, -3.36296757822743e-115, -1789090696326.75, -5.79123289354791e-100, 5.58807856113505e+184, -3.79348694239298e+234, -2.94961797052238e-168, -1.59385042486457e-189, -1.8423812107388e-197, -1.14063307080928e-172, -1.94473855239569e+302, 6.29219373168919e+246, 1.23930022589963e+150, -1.9479740376721e-294, -2.70021699423259e+102, -6.06256606871901e-238, 1.97617463635537e+57, 6.38407221139461e+92, 5.88342736245944e-133, -Inf, -Inf, -1.20771152018627e+306, -1.01459184664083e-26, -1.55286416304799e+142, -3.57664858269353e+185, -1.24534801498049e-181, 5.12444495610765e-140, 9.27803579594871e-86, 7.19002782369079e-251, 1.36227667261103e-134, 5.28113539893951e-183, -8.15266617519445e-22, 6.14864449242263e+48, 1.26214882733652e-175, -4.75473405774999e-54, NaN, -6.04801904897606e+190, 4.85263748515745e+231, 1.48336586986214e-201, 5.60056966921592e-103, -2.62602620293819e-216, -3.08709065552595e-173, -8.41128502961551e+110, -5.66688612213608e+307, -8.94777761122051e-244, NaN, 6.30296850564819e+182, 1.11817530159536e+296, 1.49699588717126e-193, 1.62998996928158e-142, 1.8605185419779e-105, 5.30129050297564e+21, -1.13695824388454e-280, 9.16679295250129e+145, -1.90358108637377e+205, -3.24770215010623e-58, -6617215.3191903, 6.15742461764306e+266, 2.54325625523117e+250, 2.72676329848134e-13, -2.13119628171581e-69, 3.45994591263599e-127, 6.23845949298236e+297, -3.17243759888868e+232, 1.60609310114564e+91, -8.58287992876502e+278, -2.49195949784851e+232, -6.13604309010632e+207, -2.08115434055904e-263, -9.02613252790399e+163, 1.04980896681294e+73, 5.86775558230338e+292, 1.24964206799164e+41, -1.01839255583791e+125, 5.67787598092303e+58, -3.62476899957125e-233, 4.76597952329454e-233, -9.29182000981107e-09, 1.91197534438807e+231, 4.7873199201299e+298, 1.73153065472866e-290, 9.91819161575346e-51, 4.55043551202526e-175, 0), w = c(2.0051433087347e+162, -Inf, -2.13855822942077e+138, -6.3839630332542e+183, -1.7648003138919e-44, -3.62008017197681e-248, 164648111881.827, 1.51826859516494e-261, -5.24679943015215e-236, NA, 7.89583717402076e-133, 6.93071177283098e+235, -1.02675810767405e-42, -3.868172077556e+148, -1.5179249335043e+27, -3.97893370126573e-272, 3.837711209574e+175, -1.18295094217457e-299, Inf, 2.55475976090315e+159, 6.99066986641374e-206, 9.77606039737791e-216, -Inf, -Inf))
result <- do.call(surveysd:::ipf_step, testlist)
ipf_step_f 41 bytes in 1 blocks are possibly lost in loss record 14 of 1,295 ipu_step.cpp:104 No Address Trace found
Test code
testlist <- list(classes = c(1800811113L, 620569564L, -625709448L, -1672537886L, -682939386L, 1204004638L, 248718771L, 2051647206L, -1613213757L, -713842512L, 655239364L, 1564517948L, -1570608919L, 638519348L, -483530915L, 1988969238L, 1720965435L, 108653357L, -2011958811L, 1402479349L, -91562208L, -1696115331L, 339532426L, -903962576L, -1317377097L, -682939386L, 1792434622L, 1854124904L, 227707303L, 2044601485L), targets = c(9.03316458728692e+73, 1.01129744651742e+266, 8.91059618311948e-149, -0.000406221853235071, 6.5316759420058e-251, -4.38468870978115e-138, -1.05429336249238e-143, -7.32150358134199e+148, 1.89248848369004e-138, -3.36296757822743e-115, -1789090696326.75, -5.79123289354791e-100, 5.58807856113505e+184, -3.79348694239298e+234, -2.94961797052238e-168, -1.59385042486457e-189, -1.8423812107388e-197, -1.14063307080928e-172, -1.94473855239569e+302, 6.29219373168919e+246, 1.23930022589963e+150, -1.9479740376721e-294, -2.70021699423259e+102, -6.06256606871901e-238, 1.97617463635537e+57, 6.38407221139461e+92, 5.88342736245944e-133, -Inf, -Inf, -1.20771152018627e+306, -1.01459184664083e-26, -1.55286416304799e+142, -3.57664858269353e+185, -1.24534801498049e-181, 5.12444495610765e-140, 9.27803579594871e-86, 7.19002782369079e-251, 1.36227667261103e-134, 5.28113539893951e-183, -8.15266617519445e-22, 6.14864449242263e+48, 1.26214882733652e-175, -4.75473405774999e-54, NaN, -6.04801904897606e+190, 4.85263748515745e+231, 1.48336586986214e-201, 5.60056966921592e-103, -2.62602620293819e-216, -3.08709065552595e-173, -8.41128502961551e+110, -5.66688612213608e+307, -8.94777761122051e-244, NaN, 6.30296850564819e+182, 1.11817530159536e+296, 1.49699588717126e-193, 1.62998996928158e-142, 1.8605185419779e-105, 5.30129050297564e+21, -1.13695824388454e-280, 9.16679295250129e+145, -1.90358108637377e+205, -3.24770215010623e-58, -6617215.3191903, 6.15742461764306e+266, 2.54325625523117e+250, 2.72676329848134e-13, -2.13119628171581e-69, 3.45994591263599e-127, 6.23845949298236e+297, -3.17243759888868e+232, 1.60609310114564e+91, -8.58287992876502e+278, -2.49195949784851e+232, -6.13604309010632e+207, -2.08115434055904e-263, -9.02613252790399e+163, 1.04980896681294e+73, 5.86775558230338e+292, 1.24964206799164e+41, -1.01839255583791e+125, 5.67787598092303e+58, -3.62476899957125e-233, 4.76597952329454e-233, -9.29182000981107e-09, 1.91197534438807e+231, 4.7873199201299e+298, 1.73153065472866e-290, 9.91819161575346e-51, 4.55043551202526e-175, 0), w = c(2.0051433087347e+162, -Inf, -2.13855822942077e+138, -6.3839630332542e+183, -1.7648003138919e-44, -3.62008017197681e-248, 164648111881.827, 1.51826859516494e-261, -5.24679943015215e-236, NA, 7.89583717402076e-133, 6.93071177283098e+235, -1.02675810767405e-42, -3.868172077556e+148, -1.5179249335043e+27, -3.97893370126573e-272, 3.837711209574e+175, -1.18295094217457e-299, Inf, 2.55475976090315e+159, 6.99066986641374e-206, 9.77606039737791e-216, -Inf, -Inf))
result <- do.call(surveysd:::ipf_step_f, testlist)
ipf_step_ref 41 bytes in 1 blocks are possibly lost in loss record 14 of 1,295 ipu_step.cpp:72 No Address Trace found
Test code
testlist <- list(classes = c(1800811113L, 620569564L, -625709448L, -1672537886L, -682939386L, 1204004638L, 248718771L, 2051647206L, -1613213757L, -713842512L, 655239364L, 1564517948L, -1570608919L, 638519348L, -483530915L, 1988969238L, 1720965435L, 108653357L, -2011958811L, 1402479349L, -91562208L, -1696115331L, 339532426L, -903962576L, -1317377097L, -682939386L, 1792434622L, 1854124904L, 227707303L, 2044601485L), targets = c(9.03316458728692e+73, 1.01129744651742e+266, 8.91059618311948e-149, -0.000406221853235071, 6.5316759420058e-251, -4.38468870978115e-138, -1.05429336249238e-143, -7.32150358134199e+148, 1.89248848369004e-138, -3.36296757822743e-115, -1789090696326.75, -5.79123289354791e-100, 5.58807856113505e+184, -3.79348694239298e+234, -2.94961797052238e-168, -1.59385042486457e-189, -1.8423812107388e-197, -1.14063307080928e-172, -1.94473855239569e+302, 6.29219373168919e+246, 1.23930022589963e+150, -1.9479740376721e-294, -2.70021699423259e+102, -6.06256606871901e-238, 1.97617463635537e+57, 6.38407221139461e+92, 5.88342736245944e-133, -Inf, -Inf, -1.20771152018627e+306, -1.01459184664083e-26, -1.55286416304799e+142, -3.57664858269353e+185, -1.24534801498049e-181, 5.12444495610765e-140, 9.27803579594871e-86, 7.19002782369079e-251, 1.36227667261103e-134, 5.28113539893951e-183, -8.15266617519445e-22, 6.14864449242263e+48, 1.26214882733652e-175, -4.75473405774999e-54, NaN, -6.04801904897606e+190, 4.85263748515745e+231, 1.48336586986214e-201, 5.60056966921592e-103, -2.62602620293819e-216, -3.08709065552595e-173, -8.41128502961551e+110, -5.66688612213608e+307, -8.94777761122051e-244, NaN, 6.30296850564819e+182, 1.11817530159536e+296, 1.49699588717126e-193, 1.62998996928158e-142, 1.8605185419779e-105, 5.30129050297564e+21, -1.13695824388454e-280, 9.16679295250129e+145, -1.90358108637377e+205, -3.24770215010623e-58, -6617215.3191903, 6.15742461764306e+266, 2.54325625523117e+250, 2.72676329848134e-13, -2.13119628171581e-69, 3.45994591263599e-127, 6.23845949298236e+297, -3.17243759888868e+232, 1.60609310114564e+91, -8.58287992876502e+278, -2.49195949784851e+232, -6.13604309010632e+207, -2.08115434055904e-263, -9.02613252790399e+163, 1.04980896681294e+73, 5.86775558230338e+292, 1.24964206799164e+41, -1.01839255583791e+125, 5.67787598092303e+58, -3.62476899957125e-233, 4.76597952329454e-233, -9.29182000981107e-09, 1.91197534438807e+231, 4.7873199201299e+298, 1.73153065472866e-290, 9.91819161575346e-51, 4.55043551202526e-175, 0), w = c(2.0051433087347e+162, -Inf, -2.13855822942077e+138, -6.3839630332542e+183, -1.7648003138919e-44, -3.62008017197681e-248, 164648111881.827, 1.51826859516494e-261, -5.24679943015215e-236, NA, 7.89583717402076e-133, 6.93071177283098e+235, -1.02675810767405e-42, -3.868172077556e+148, -1.5179249335043e+27, -3.97893370126573e-272, 3.837711209574e+175, -1.18295094217457e-299, Inf, 2.55475976090315e+159, 6.99066986641374e-206, 9.77606039737791e-216, -Inf, -Inf))
result <- do.call(surveysd:::ipf_step_ref, testlist)

Analyzed functions summary

function name tested inputs inputs with issues
ipf_step 3 3
ipf_step_f 3 3
ipf_step_ref 3 3
weightedRatio 3 0
weightedSum 3 0

Report details

  • Report generated by: 6927437
  • Inputs generator seed: 1662467494

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants